#include <iostream>
using namespace std;

#define MY_MIN_1(x, y)  x<y?x:y

inline int MY_MIN_2(int x, int y){
    return x<y?x:y;
}

int main(int argc, const char *argv[]){
    
    int a = 1;
    int b = 2;
    int c = 0;
    c = MY_MIN_1(++a, ++b);
    // 预处理后
    // c = ++a <++b ? ++a : ++b;
    cout << a << " " << b << " " << c << endl; // 3 3 3 

    a = 1;
    b = 2;
    c = 0;
    c = MY_MIN_2(++a, ++b);
    cout << a << " " << b << " " << c << endl; // 2 3 2

    return 0;
}